package com.videoStream.video.config;

import com.videoStream.video.nginx.NginxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @Author: wwy
 * @Date: 2022/7/5 14:17
 */
@Component
public class VideoInit implements ApplicationRunner {
    @Autowired
    private NginxService nginxService;

    @Override
    public void run(ApplicationArguments args) {
        //初始化nginx
        //nginxService.startProc();
    }
}
